using System;
namespace AppToolKit.Core.Context
{
	[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
	public sealed class UniqueImplAttribute : Attribute
	{
		public const string ApplicationScope = "APPLICATION_SCOPE";
		private Type interface_;
		public Type InterfaceType
		{
			get
			{
				return this.interface_;
			}
		}
		public ContextScope Scope
		{
			get;
			set;
		}
		public UniqueImplAttribute(Type type)
		{
			this.Scope = ContextScope.Assembly;
			this.interface_ = type;
		}
	}
}
